package com.javaAdmin;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author Administrator
 */
@SpringBootApplication   //标识这是启动类
@MapperScan("com.javaAdmin.mapper")  //标记mybisplus的扫描路径
@EnableCaching //表示开启缓存
@EnableScheduling  //表示开启定时任务
@EnableAsync  //表示开启线程池异步执行

public class JavaAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(JavaAdminApplication.class, args);
    }

}
